pub use crate::error::CommonError;

pub trait Producer {
    fn produce(&mut self, log: &[u8]) -> Result<usize, CommonError> ;
}
